package com.scsj.supermarket.base;

import android.content.Context;

import com.scsj.supermarket.bean.BaseBean;

import dkmvp.net.ResponseCallback;
import okhttp3.RequestBody;
import rx.Subscription;

/**
 * 短信验证码
 */

public class SMSBase {

    public interface IView {

        void showSMSSuccessMsg(String s, BaseBean baseBean);

        void showSMSErrorMsg(String s);
    }

    public interface IPresenter {

        void deliverData(RequestBody requestBody);
    }

    public interface IModel {

        Subscription getData(RequestBody requestBody, ResponseCallback<BaseBean> callback);
    }

}
